<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<script src="./js/upload/AC_OETags.js" language="javascript"></script>

<style>
body { margin: 0px; overflow:hidden }
</style>
<script language="JavaScript" type="text/javascript">
<!--
var requiredMajorVersion = 9;
var requiredMinorVersion = 0;
var requiredRevision = 28;
// -->
</script>
</head>

<body scroll="no" style="width: 500; height: 310;">
<script language="JavaScript" type="text/javascript">
<!--
var hasProductInstall = DetectFlashVer(6, 0, 65);
var hasRequestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);

if ( hasProductInstall && !hasRequestedVersion ) {
	var MMPlayerType = (isIE == true) ? "ActiveX" : "PlugIn";
	var MMredirectURL = window.location;
    document.title = document.title.slice(0, 47) + " - Flash Player Installation";
    var MMdoctitle = document.title;

	AC_FL_RunContent(
		"src", "playerProductInstall",
		"FlashVars", "MMredirectURL="+MMredirectURL+'&MMplayerType='+MMPlayerType+'&MMdoctitle='+MMdoctitle+"",
		"width", "100%",
		"height", "100%",
		"align", "middle",
		"id", "Uploader",
		"quality", "high",
		"bgcolor", "#000000",
		"name", "Uploader",
		"allowScriptAccess","sameDomain",
		"type", "application/x-shockwave-flash",
		"pluginspage", "http://www.adobe.com/go/getflashplayer"
	);
} else if (hasRequestedVersion) {
	AC_FL_RunContent(
			"src", "./js/upload/Uploader",
			"width", "500",
			"height", "310",
			"align", "middle",
			"id", "Uploader",
			"quality", "high",
			"bgcolor", "#000000",
			"name", "Uploader",
			"wmode","transparent",
			"FlashVars", getFlashVars(),
			"allowScriptAccess","sameDomain",
			"type", "application/x-shockwave-flash",
			"pluginspage", "http://www.adobe.com/go/getflashplayer"
	);
  } else {  // flash is too old or we can't detect the plugin
    var alternateContent = 'Alternate HTML content should be placed here. '
  	+ 'This content requires the Adobe Flash Player. '
   	+ '<a href=http://www.adobe.com/go/getflash/>Get Flash</a>';
    document.write(alternateContent);  // insert non-flash content
  }
  
  function getFlashVars() {
  	var baseURL = window.location.href.toString();
  	if (baseURL.indexOf(".do?") != -1) {
	  	baseURL = baseURL.substring(0, baseURL.indexOf(".do?"));
  	}
	else if (baseURL.indexOf(".do") != -1) {
		baseURL = baseURL.substring(0, baseURL.indexOf(".do"))
	}
	else if (baseURL.indexOf(".") != -1) {
		baseURL = baseURL.substring(0, baseURL.indexOf("."));
	}
  	baseURL = baseURL.substring(0, baseURL.lastIndexOf("/") + 1);
	var url = "url=" + baseURL + window.parent.uploadurl;
	url += "&loadurl=" + baseURL + window.parent.loadurl;
	url += "&extension=" + window.parent.extension;
	url += "&filecount=" + window.parent.filecount;
	url += "&operate=" + window.parent.operate;
	url += "&logic=" + window.parent.logic;
  	return url.replace(/\s*/g, "");
  }
  
  function refresh() {
  	document.getElementById('Uploader').refresh();
  }
// -->
</script>
<noscript>
  	<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="Uploader" width="500" height="310%"
			codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
			<param name="movie" value="./js/upload/Uploader.swf" />
			<param name="quality" value="high" />
			<param name="bgcolor" value="#000000" />
			<param name="allowScriptAccess" value="sameDomain" />
			<param name="wmode" value="transparent" />
			<embed src="Uploader.swf" quality="high" bgcolor="#000000"
				width="75" height="26" name="Uploader" align="middle"
				play="true"
				loop="false"
				quality="high"
				allowScriptAccess="sameDomain"
				type="application/x-shockwave-flash"
				pluginspage="http://www.adobe.com/go/getflashplayer">
			</embed>
	</object>
</noscript>
</body>
</html>
